package com.job.blossom;

/**
 * @author ZJM
 * @version 1.0
 * @since 2022-07-06 14:37:06
 */
public class Chicken0705 {
    public static void main(String[] args) {

        for (int i = 0; i < 100; i++) {
            for (int j = 0; j < 100; j++) {
                for (int k = 0; k < 100; k++) {
                    if ((i + j + k == 100) && (3 * i + 5 * j + k / 3 == 100)) {
                        System.out.println("公鸡="+i);
                        System.out.println("母鸡="+j);
                        System.out.println("小鸡仔="+k);
                        System.out.println("~~~~~~~~~~~");

                    }

                }

            }
        }
    }
}
